using System.BusinessObjects.Transactions;
using NHibernate;
using NHibernate.Criterion;
using Blazing.BusinessObjects.Locations;

namespace Blazing.BusinessObjects.Queries
{
    public class QrySearchStates
    {
        public static ICriteria Query()
        {
            ICriteria qry = UnitOfWork.CurrentSession.CreateCriteria(typeof(State));

            qry.AddOrder(Order.Asc("Name"));

            return qry;
        }
    }
}
